<!-- HTML header for doxygen 1.8.5-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<title>GenAVB/TSN: Init</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="http://www.freescale.com/files/abstract/misc/COLLATERALTEMPLATE_infocenter.js" type="text/javascript" xml:space="preserve"><!-- --></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="html_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="nxp_logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">GenAVB/TSN
   </div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('group__init.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Init<div class="ingroups"><a class="el" href="group__library.html">Library API</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:structgenavb__config"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__init.html#structgenavb__config">genavb_config</a></td></tr>
<tr class="separator:structgenavb__config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structavdecc__entity__config"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__init.html#structavdecc__entity__config">avdecc_entity_config</a></td></tr>
<tr class="separator:structavdecc__entity__config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structavdecc__config"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__init.html#structavdecc__config">avdecc_config</a></td></tr>
<tr class="separator:structavdecc__config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structavtp__config"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__init.html#structavtp__config">avtp_config</a></td></tr>
<tr class="separator:structavtp__config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structsrp__config"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__init.html#structsrp__config">srp_config</a></td></tr>
<tr class="separator:structsrp__config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structmanagement__config"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__init.html#structmanagement__config">management_config</a></td></tr>
<tr class="separator:structmanagement__config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structfgptp__port__config"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__init.html#structfgptp__port__config">fgptp_port_config</a></td></tr>
<tr class="separator:structfgptp__port__config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structfgptp__domain__config"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__init.html#structfgptp__domain__config">fgptp_domain_config</a></td></tr>
<tr class="separator:structfgptp__domain__config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structfgptp__config"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__init.html#structfgptp__config">fgptp_config</a></td></tr>
<tr class="separator:structfgptp__config"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga0f77ca291e087fc8db9de1647178bb13"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__init.html#ga0f77ca291e087fc8db9de1647178bb13">genavb_get_default_config</a> (struct <a class="el" href="group__init.html#structgenavb__config">genavb_config</a> *config)</td></tr>
<tr class="separator:ga0f77ca291e087fc8db9de1647178bb13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga55f587baf6a683faf9fc316fd7d2752d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__init.html#ga55f587baf6a683faf9fc316fd7d2752d">genavb_set_config</a> (struct <a class="el" href="group__init.html#structgenavb__config">genavb_config</a> *config)</td></tr>
<tr class="separator:ga55f587baf6a683faf9fc316fd7d2752d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6e098a0b5733144723b4976c343e684a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__init.html#ga6e098a0b5733144723b4976c343e684a">genavb_init</a> (struct genavb_handle **genavb, unsigned int flags)</td></tr>
<tr class="separator:ga6e098a0b5733144723b4976c343e684a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaac0a10967f4ae5ff1541a869665528a6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__init.html#gaac0a10967f4ae5ff1541a869665528a6">genavb_exit</a> (struct genavb_handle *genavb)</td></tr>
<tr class="separator:gaac0a10967f4ae5ff1541a869665528a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/><h2 class="groupheader">Data Structure Documentation</h2>
<a name="structgenavb__config" id="structgenavb__config"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structgenavb__config">&#9670;&nbsp;</a></span>genavb_config</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct genavb_config</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"><p>GenAVB global configuration. </p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a338c5494abdb659240fbcd0674a59995"></a>struct <a class="el" href="group__init.html#structmanagement__config">management_config</a></td>
<td class="fieldname">
management_config</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a6b80e36f7d9ac7ef0d9c9ed3c46c6dd7"></a>struct <a class="el" href="group__init.html#structfgptp__config">fgptp_config</a></td>
<td class="fieldname">
fgptp_config</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a4da95a7980ace2fc43d0c227fe85cc55"></a>struct <a class="el" href="group__init.html#structavtp__config">avtp_config</a></td>
<td class="fieldname">
avtp_config</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="af0806caad72b412091465ca178c48889"></a>struct <a class="el" href="group__init.html#structsrp__config">srp_config</a></td>
<td class="fieldname">
srp_config</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a35a862f054f36db773a04464b3fef930"></a>struct <a class="el" href="group__init.html#structavdecc__config">avdecc_config</a></td>
<td class="fieldname">
avdecc_config</td>
<td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a name="structavdecc__entity__config" id="structavdecc__entity__config"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structavdecc__entity__config">&#9670;&nbsp;</a></span>avdecc_entity_config</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct avdecc_entity_config</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"><p>AVDECC entity configuration </p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a44e27fd1b576bfbe505931340b665404"></a>unsigned int</td>
<td class="fieldname">
flags</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a48d70035560fd6331a00b540fc71c8ac"></a>unsigned int</td>
<td class="fieldname">
channel_waitmask</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="ad7916c97631a987ad81fc5192c139349"></a>uint64_t</td>
<td class="fieldname">
entity_id</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a324604e284d8984f8c02b468564936b8"></a>uint64_t</td>
<td class="fieldname">
association_id</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a7e66df150332d18ebe02379a64870a04"></a>uint64_t</td>
<td class="fieldname">
talker_entity_id[ACMP_CFG_MAX_UNIQUE_ID]</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="acf1919c883899f256c27889a801c1ced"></a>unsigned int</td>
<td class="fieldname">
talker_entity_id_n</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="ae06ad0b4ca11b068cadea4a6b5162dcc"></a>uint16_t</td>
<td class="fieldname">
talker_unique_id[ACMP_CFG_MAX_UNIQUE_ID]</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="aa07b90264d54397e60721a16d2734b51"></a>unsigned int</td>
<td class="fieldname">
talker_unique_id_n</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="afb4a693a40e577e730d41c00ff2f3b26"></a>uint16_t</td>
<td class="fieldname">
listener_unique_id[ACMP_CFG_MAX_UNIQUE_ID]</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="ab90d159104276aef3e9ea48d4bd99ef2"></a>unsigned int</td>
<td class="fieldname">
listener_unique_id_n</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a01bb4df4679e9840b9119dc9cda4f7ac"></a>unsigned int</td>
<td class="fieldname">
valid_time</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a319ae6504cf9053ff9bcb28d287a0f02"></a>void *</td>
<td class="fieldname">
aem</td>
<td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a name="structavdecc__config" id="structavdecc__config"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structavdecc__config">&#9670;&nbsp;</a></span>avdecc_config</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct avdecc_config</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"><p>AVDECC stack component configuration </p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="aa26e40c8015c627656bb6e9fee751c92"></a><a class="el" href="group__generic.html#ga19cf7e99ab1d93770531031c6ceda0f9">genavb_log_level_t</a></td>
<td class="fieldname">
log_level</td>
<td class="fielddoc">
AVDECC log level. </td></tr>
<tr><td class="fieldtype">
<a id="a2766ace257c80327145ba787e078b426"></a>unsigned int</td>
<td class="fieldname">
enabled</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a36b85050537e844aeeb8f79b5949dc93"></a>unsigned int</td>
<td class="fieldname">
srp_enabled</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="af8496d8647127cf911c99ce1e3486013"></a>unsigned int</td>
<td class="fieldname">
num_entities</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a9cd8e33134c6c66a74c659ac72db216f"></a>struct <a class="el" href="group__init.html#structavdecc__entity__config">avdecc_entity_config</a></td>
<td class="fieldname">
entity_cfg[CFG_AVDECC_NUM_ENTITIES]</td>
<td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a name="structavtp__config" id="structavtp__config"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structavtp__config">&#9670;&nbsp;</a></span>avtp_config</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct avtp_config</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"><p>AVTP stack component configuration </p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="aaf7c0a13ddf26ec4a0a52a49df38f774"></a><a class="el" href="group__generic.html#ga19cf7e99ab1d93770531031c6ceda0f9">genavb_log_level_t</a></td>
<td class="fieldname">
log_level</td>
<td class="fielddoc">
AVTP log level. </td></tr>
<tr><td class="fieldtype">
<a id="ae3cfa803b3130c634884e5ca2ea8839b"></a>unsigned int</td>
<td class="fieldname">
logical_port_list[CFG_MAX_NUM_PORT]</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a84bfb94ee3100e6419b0e2eebe0449af"></a>unsigned int</td>
<td class="fieldname">
clock_gptp_list[CFG_MAX_NUM_PORT]</td>
<td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a name="structsrp__config" id="structsrp__config"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structsrp__config">&#9670;&nbsp;</a></span>srp_config</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct srp_config</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"><p>SRP stack component configuration </p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="acbb644e932dea330c391fc5940b509bb"></a><a class="el" href="group__generic.html#ga19cf7e99ab1d93770531031c6ceda0f9">genavb_log_level_t</a></td>
<td class="fieldname">
log_level</td>
<td class="fielddoc">
SRP log level. </td></tr>
<tr><td class="fieldtype">
<a id="ac5fd98a09e4b06e311d06312c2ec6c26"></a>unsigned int</td>
<td class="fieldname">
is_bridge</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="ae76307d406956c874909d2a5161717c9"></a>unsigned int</td>
<td class="fieldname">
port_max</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="aeb5a2d8dfb57ce71df6fdf73cd2a4623"></a>unsigned int</td>
<td class="fieldname">
management_enabled</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a3b7bb43d58a672915e2016ac96815267"></a>struct <a class="el" href="group__init.html#structsrp__config_1_1msrp__config">msrp_config</a></td>
<td class="fieldname">
msrp_cfg</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a4bf59738218b69b6484d79bf975e338e"></a>struct <a class="el" href="group__init.html#structsrp__config_1_1mvrp__config">mvrp_config</a></td>
<td class="fieldname">
mvrp_cfg</td>
<td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a name="structmanagement__config" id="structmanagement__config"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structmanagement__config">&#9670;&nbsp;</a></span>management_config</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct management_config</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"><p>Management stack component configuration </p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a02971ff1eb6eae8ca3b5fad7254b2d7d"></a><a class="el" href="group__generic.html#ga19cf7e99ab1d93770531031c6ceda0f9">genavb_log_level_t</a></td>
<td class="fieldname">
log_level</td>
<td class="fielddoc">
Management log level. </td></tr>
<tr><td class="fieldtype">
<a id="adb6b8085c9b4ae1e64a56908fff17162"></a>unsigned int</td>
<td class="fieldname">
is_bridge</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a87387aaabd6dc594c884286ed0f0e0d6"></a>unsigned int</td>
<td class="fieldname">
port_max</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a10c01d67730b0df258b4faac93084939"></a>unsigned int</td>
<td class="fieldname">
logical_port_list[CFG_MAX_NUM_PORT]</td>
<td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a name="structfgptp__port__config" id="structfgptp__port__config"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structfgptp__port__config">&#9670;&nbsp;</a></span>fgptp_port_config</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct fgptp_port_config</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"><p>GPTP port configuration </p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a3e40af1c960221a46a4da635ac4ff2b8"></a>uint8_t</td>
<td class="fieldname">
portRole</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a0126e6dacf5411cf43b78e2d4dee5786"></a>uint8_t</td>
<td class="fieldname">
ptpPortEnabled</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="af80f86bc52bdeef948734b29541405ed"></a>int</td>
<td class="fieldname">
rxDelayCompensation</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a326a2e94d13b9b2460c34c2376fb7b03"></a>int</td>
<td class="fieldname">
txDelayCompensation</td>
<td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a name="structfgptp__domain__config" id="structfgptp__domain__config"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structfgptp__domain__config">&#9670;&nbsp;</a></span>fgptp_domain_config</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct fgptp_domain_config</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"><p>GPTP domain configuration </p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a9e1a8f1b3cadeaabb84692f825108235"></a>int</td>
<td class="fieldname">
domain_number</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a7ff399320b1886009770e2d99fff309b"></a>unsigned int</td>
<td class="fieldname">
clock_target</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a34c39815bb0e462fb15ba7b83d32b6df"></a>unsigned int</td>
<td class="fieldname">
clock_source</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a7c5e49c769c0d974b6041cb4474e64a8"></a>uint8_t</td>
<td class="fieldname">
gmCapable</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a770d5fd29cfebcac5cd1519c0978270f"></a>uint8_t</td>
<td class="fieldname">
priority1</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a4181c82318ed9fe46fe68013f3c4d7c6"></a>uint8_t</td>
<td class="fieldname">
priority2</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a5308a227d2c89c5359f84bd0bf25cc9b"></a>uint8_t</td>
<td class="fieldname">
clockClass</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a055108260b6b146ca9d332f585306c0a"></a>uint8_t</td>
<td class="fieldname">
clockAccuracy</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a6a9e58934695b2eb17c1a452ed825397"></a>uint16_t</td>
<td class="fieldname">
offsetScaledLogVariance</td>
<td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a name="structfgptp__config" id="structfgptp__config"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structfgptp__config">&#9670;&nbsp;</a></span>fgptp_config</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct fgptp_config</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"><p>GPTP stack component configuration </p>
</div><table class="memberdecls">
<tr><td colspan="2"><h3>Data Fields</h3></td></tr>
<tr class="memitem:afb6ae57af13a9e4868a0ea2aabeb1635"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__generic.html#ga19cf7e99ab1d93770531031c6ceda0f9">genavb_log_level_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__init.html#afb6ae57af13a9e4868a0ea2aabeb1635">log_level</a></td></tr>
<tr class="separator:afb6ae57af13a9e4868a0ea2aabeb1635"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44213e37aadefe22b0ae9ed51c22727c"><td class="memItemLeft" align="right" valign="top"><a id="a44213e37aadefe22b0ae9ed51c22727c"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>is_bridge</b></td></tr>
<tr class="separator:a44213e37aadefe22b0ae9ed51c22727c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35459740f1fa512978a62c00982d6da7"><td class="memItemLeft" align="right" valign="top"><a id="a35459740f1fa512978a62c00982d6da7"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>profile</b></td></tr>
<tr class="separator:a35459740f1fa512978a62c00982d6da7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee7e48147d600fa478274b2dad33b847"><td class="memItemLeft" align="right" valign="top"><a id="aee7e48147d600fa478274b2dad33b847"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>domain_max</b></td></tr>
<tr class="separator:aee7e48147d600fa478274b2dad33b847"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f06b00daec87910db985524ca64a673"><td class="memItemLeft" align="right" valign="top"><a id="a2f06b00daec87910db985524ca64a673"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>port_max</b></td></tr>
<tr class="separator:a2f06b00daec87910db985524ca64a673"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00ef3e4d6f2307c167b847fc9534664a"><td class="memItemLeft" align="right" valign="top"><a id="a00ef3e4d6f2307c167b847fc9534664a"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>logical_port_list</b> [CFG_MAX_NUM_PORT]</td></tr>
<tr class="separator:a00ef3e4d6f2307c167b847fc9534664a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4e07a86ae322274f3733a93cfeb4e08"><td class="memItemLeft" align="right" valign="top"><a id="ab4e07a86ae322274f3733a93cfeb4e08"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>management_enabled</b></td></tr>
<tr class="separator:ab4e07a86ae322274f3733a93cfeb4e08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbe83cfa96f635aa0d367faa025f22f9"><td class="memItemLeft" align="right" valign="top"><a id="adbe83cfa96f635aa0d367faa025f22f9"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>clock_local</b></td></tr>
<tr class="separator:adbe83cfa96f635aa0d367faa025f22f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae078ac18ad3f094231a03e46ba21d21e"><td class="memItemLeft" align="right" valign="top"><a id="ae078ac18ad3f094231a03e46ba21d21e"></a>
uint64_t&#160;</td><td class="memItemRight" valign="bottom"><b>gm_id</b></td></tr>
<tr class="separator:ae078ac18ad3f094231a03e46ba21d21e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42a25afc379c1b82efc636bc2cd81894"><td class="memItemLeft" align="right" valign="top"><a id="a42a25afc379c1b82efc636bc2cd81894"></a>
uint64_t&#160;</td><td class="memItemRight" valign="bottom"><b>neighborPropDelayThreshold</b></td></tr>
<tr class="separator:a42a25afc379c1b82efc636bc2cd81894"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a468194d8662734dbac2a09c65ffff274"><td class="memItemLeft" align="right" valign="top"><a id="a468194d8662734dbac2a09c65ffff274"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>rsync</b></td></tr>
<tr class="separator:a468194d8662734dbac2a09c65ffff274"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf6dc3abeb068ff43848dae5adbf67fd"><td class="memItemLeft" align="right" valign="top"><a id="adf6dc3abeb068ff43848dae5adbf67fd"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>rsync_interval</b></td></tr>
<tr class="separator:adf6dc3abeb068ff43848dae5adbf67fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6133c97165ea7e905181e465b53623f7"><td class="memItemLeft" align="right" valign="top"><a id="a6133c97165ea7e905181e465b53623f7"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>statsInterval</b></td></tr>
<tr class="separator:a6133c97165ea7e905181e465b53623f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac75933d328d8d8562cf6061a5f78504d"><td class="memItemLeft" align="right" valign="top"><a id="ac75933d328d8d8562cf6061a5f78504d"></a>
uint8_t&#160;</td><td class="memItemRight" valign="bottom"><b>neighborPropDelay_mode</b></td></tr>
<tr class="separator:ac75933d328d8d8562cf6061a5f78504d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d134c3ea5ab9da6d9aa673e9b4dbc82"><td class="memItemLeft" align="right" valign="top"><a id="a6d134c3ea5ab9da6d9aa673e9b4dbc82"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>initial_neighborPropDelay</b> [CFG_MAX_NUM_PORT]</td></tr>
<tr class="separator:a6d134c3ea5ab9da6d9aa673e9b4dbc82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a416ff2532052f7bd9df943d78bacc4c6"><td class="memItemLeft" align="right" valign="top"><a id="a416ff2532052f7bd9df943d78bacc4c6"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>neighborPropDelay_sensitivity</b></td></tr>
<tr class="separator:a416ff2532052f7bd9df943d78bacc4c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3469270b8b46229879f406fad5e5976f"><td class="memItemLeft" align="right" valign="top"><a id="a3469270b8b46229879f406fad5e5976f"></a>
int8_t&#160;</td><td class="memItemRight" valign="bottom"><b>initialLogPdelayReqInterval</b></td></tr>
<tr class="separator:a3469270b8b46229879f406fad5e5976f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8df3a7c0b119a06590170ab56242cd9f"><td class="memItemLeft" align="right" valign="top"><a id="a8df3a7c0b119a06590170ab56242cd9f"></a>
int8_t&#160;</td><td class="memItemRight" valign="bottom"><b>initialLogSyncInterval</b></td></tr>
<tr class="separator:a8df3a7c0b119a06590170ab56242cd9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2947d69ba622026aee00bc31555434a3"><td class="memItemLeft" align="right" valign="top"><a id="a2947d69ba622026aee00bc31555434a3"></a>
int8_t&#160;</td><td class="memItemRight" valign="bottom"><b>initialLogAnnounceInterval</b></td></tr>
<tr class="separator:a2947d69ba622026aee00bc31555434a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbd1aa62bb79f5d4b4d4c457067602d6"><td class="memItemLeft" align="right" valign="top"><a id="acbd1aa62bb79f5d4b4d4c457067602d6"></a>
int8_t&#160;</td><td class="memItemRight" valign="bottom"><b>operLogPdelayReqInterval</b></td></tr>
<tr class="separator:acbd1aa62bb79f5d4b4d4c457067602d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a464a26a680fa952da7c28c2d30e0dd94"><td class="memItemLeft" align="right" valign="top"><a id="a464a26a680fa952da7c28c2d30e0dd94"></a>
int8_t&#160;</td><td class="memItemRight" valign="bottom"><b>operLogSyncInterval</b></td></tr>
<tr class="separator:a464a26a680fa952da7c28c2d30e0dd94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1ab20ec7fdb4672d7f8c0000bd8845b"><td class="memItemLeft" align="right" valign="top"><a id="ac1ab20ec7fdb4672d7f8c0000bd8845b"></a>
void(*&#160;</td><td class="memItemRight" valign="bottom"><b>sync_indication</b> )()</td></tr>
<tr class="separator:ac1ab20ec7fdb4672d7f8c0000bd8845b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac429976fb6fccb540090479a65eb0ec4"><td class="memItemLeft" align="right" valign="top"><a id="ac429976fb6fccb540090479a65eb0ec4"></a>
void(*&#160;</td><td class="memItemRight" valign="bottom"><b>gm_indication</b> )()</td></tr>
<tr class="separator:ac429976fb6fccb540090479a65eb0ec4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52823a723b2c500a0092b81f4120e33d"><td class="memItemLeft" align="right" valign="top"><a id="a52823a723b2c500a0092b81f4120e33d"></a>
void(*&#160;</td><td class="memItemRight" valign="bottom"><b>pdelay_indication</b> )()</td></tr>
<tr class="separator:a52823a723b2c500a0092b81f4120e33d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72a49e6d637a8c5f9cc9ebc5f931bd2f"><td class="memItemLeft" align="right" valign="top"><a id="a72a49e6d637a8c5f9cc9ebc5f931bd2f"></a>
struct <a class="el" href="group__init.html#structfgptp__port__config">fgptp_port_config</a>&#160;</td><td class="memItemRight" valign="bottom"><b>port_cfg</b> [CFG_MAX_NUM_PORT]</td></tr>
<tr class="separator:a72a49e6d637a8c5f9cc9ebc5f931bd2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13ee498a9d577b7f63b02aa3485b7941"><td class="memItemLeft" align="right" valign="top"><a id="a13ee498a9d577b7f63b02aa3485b7941"></a>
struct <a class="el" href="group__init.html#structfgptp__domain__config">fgptp_domain_config</a>&#160;</td><td class="memItemRight" valign="bottom"><b>domain_cfg</b> [CFG_MAX_GPTP_DOMAINS]</td></tr>
<tr class="separator:a13ee498a9d577b7f63b02aa3485b7941"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55e0a62359da6ad64d94aa8c14d3adef"><td class="memItemLeft" align="right" valign="top"><a id="a55e0a62359da6ad64d94aa8c14d3adef"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>force_2011</b></td></tr>
<tr class="separator:a55e0a62359da6ad64d94aa8c14d3adef"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h4 class="groupheader">Field Documentation</h4>
<a id="afb6ae57af13a9e4868a0ea2aabeb1635"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb6ae57af13a9e4868a0ea2aabeb1635">&#9670;&nbsp;</a></span>log_level</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__generic.html#ga19cf7e99ab1d93770531031c6ceda0f9">genavb_log_level_t</a> fgptp_config::log_level</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>gPTP log level </p>

</div>
</div>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga0f77ca291e087fc8db9de1647178bb13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0f77ca291e087fc8db9de1647178bb13">&#9670;&nbsp;</a></span>genavb_get_default_config()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void genavb_get_default_config </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="group__init.html#structgenavb__config">genavb_config</a> *&#160;</td>
          <td class="paramname"><em>config</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets a copy of the GenAVB default configuration. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">config</td><td>pointer to the caller configuration storage. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga55f587baf6a683faf9fc316fd7d2752d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga55f587baf6a683faf9fc316fd7d2752d">&#9670;&nbsp;</a></span>genavb_set_config()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void genavb_set_config </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="group__init.html#structgenavb__config">genavb_config</a> *&#160;</td>
          <td class="paramname"><em>config</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the GenAVB configuration (used at initialization). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">config</td><td>pointer to a GenAVB configuration. The configuration is only used when <a class="el" href="group__init.html#ga6e098a0b5733144723b4976c343e684a" title="Initialize the GenAVB library.">genavb_init()</a> is called. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga6e098a0b5733144723b4976c343e684a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6e098a0b5733144723b4976c343e684a">&#9670;&nbsp;</a></span>genavb_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int genavb_init </td>
          <td>(</td>
          <td class="paramtype">struct genavb_handle **&#160;</td>
          <td class="paramname"><em>genavb</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>flags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initialize the GenAVB library. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__generic.html#gga031a0b2111b623fef60d707141a995d5a652003ceb0485f27d4a45e7c29dffe7f" title="Success.">GENAVB_SUCCESS</a> or negative error code. In case of success genavb argument is updated with library handle </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">genavb</td><td>pointer to GenAVB library handle pointer </td></tr>
    <tr><td class="paramname">flags</td><td>bitmap of configuration options. For future expansion, for now always pass 0. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaac0a10967f4ae5ff1541a869665528a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaac0a10967f4ae5ff1541a869665528a6">&#9670;&nbsp;</a></span>genavb_exit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int genavb_exit </td>
          <td>(</td>
          <td class="paramtype">struct genavb_handle *&#160;</td>
          <td class="paramname"><em>genavb</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Exit the GenAVB library. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__generic.html#gga031a0b2111b623fef60d707141a995d5a652003ceb0485f27d4a45e7c29dffe7f" title="Success.">GENAVB_SUCCESS</a> or negative error code. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">genavb</td><td>pointer to GenAVB library handle structure </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.5-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul class="foot">
    <li class="footer"> &copy; 2017-2020 NXP
    </li>
  </ul>
</div>
</body>
</html>
